package net.kehk.towerdefense.gamelogic;

public class Enemy extends DrawableEntity{
	private int currenthealth;

	public Enemy(int pos_x, int pos_y, float velocity, int health){
		super(pos_x, pos_y, velocity, 32, 32);
		this.currenthealth=health;
	}

	public int getCurrentHealth(){
		return this.currenthealth;
	}
	
	public void takeDamage(int damage){
		this.currenthealth-=damage;
	}
}